﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Dominio;
using Interfaces;

namespace Obligatorio1
{
    public partial class VentanaReporteTanques : Form
    {
        public VentanaReporteTanques()
        {
            InitializeComponent();
        }

        private void VentanaReporteTanques_Load(object sender, EventArgs e)
        {
            //CargarTanques();
            IReporte ir = new ImpIReporte();
            DataTable Tabla = new DataTable();
            Tabla.Clear();
            Tabla = ir.InfoTanque();
            DataView vista = new DataView(Tabla);
            datosReporte.DataSource = vista;
        }

        private void buttonAtras_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

    }
}
